<?php
/*
 * Creative Bulletin Board Generation 3
 * Version 1.0 Beta 1
 +------------------------------------
 * Help Application Models: Help Files
 * Started: September 26, 2009 4:51 PM
 * Script version: 1.0
 */
class helpfiles{
	/*public function create($username, $password, $email, $dname = NULL, $groupid = NULL){
		global $db, $config, $main;
		$username = mysql_real_escape_string(stripslashes($username));
		if($dname == NULL){
			$dname = $username;
		}
		$email = mysql_real_escape_string(stripslashes($email));
		$password = $main->makePassword(stripslashes($password));
		// FIXME: GroupID Implementation?
		$query = $db->query("INSERT INTO `".$config["db"]["prefix"]."users`(`id`,`username`,`display`,`password`,`email`,`group`)VALUES(NULL, '{$username}', '{$dname}', '{$password}', '{$email}', 4);");
		return $query;
	}*/ // =============== Not done ==================
	
	public function select_all(){
		global $db;
		$query = $db->select("help");
		return $query;
	}
}
